<?
include_once "clases/dao/dao.Recomendacion.php";
include_once "clases/negocio/clase.Recomendacion.php";

class EliminarRecomendacion extends Action
{
	var $tpl = "";

	function procesar(&$nextAction){

		$id_recomendacion = $_GET["id"];

		$recomendacionDAO = new RecomendacionDAO();
		$recomendacionDAO->delete($id_recomendacion);

		$nextAction->setNextAction("VerRecomendaciones","recomendacion.eliminada");
	}
}
?>